package com.zhongke.cotrun.service.impl;

import com.zhongke.cotrun.mapper.WxUserInfoMapper;
import com.zhongke.cotrun.model.pojo.WxUserInfo;
import com.zhongke.cotrun.service.WxUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WxUserInfoServiceImpl implements WxUserInfoService {

    @Autowired
    WxUserInfoMapper wxUserInfoMapper;
  
    /**
     * 根据id查看个人信息
     *
     * @param userId
     * @return
     */
    @Override
    public WxUserInfo selectUserInfoByid(int userId) {

        return wxUserInfoMapper.selectDetailByUserId(userId);

    }

  
}
